package common.constant;

public enum HttpStatusEnum {

    OK("success",200),
    ERROR("error",500);
    private int value;

    private String name;

    private HttpStatusEnum(String name, int value){
        this.name = name;
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
